﻿(function () {
    $(function () {
		$("body").swipeDown(function (e) {
			var scrollTop = $(this).scrollTop();
			 console.log(scrollTop);
			 if (scrollTop == 0) {
				$("#div_load").show();
				setTimeout(function(){
					window.location.reload();
				},2000);
			 }
        });
        document.addEventListener('touchmove', function (event) {
            //event.preventDefault();
        }, false);
    });
})();

